﻿namespace Yom.Model
{
    /// <summary>
    /// 友情链接实体对象
    /// 
    /// 创建: 邱柯皓 2009/01/19 08:59
    /// </summary>
    public class Link
    {
        #region 私有成员定义
        private int _LinkID;
        private string _LinkName;
        private string _LinkUrl;
        private bool _IsCheck;
        #endregion

        #region 成员属性暴露
        /// <summary>
        /// 友情链接编号
        /// </summary>
        public int LinkID { get { return this._LinkID; } set { this._LinkID = value; } }

        /// <summary>
        /// 网站名称
        /// </summary>
        public string LinkName { get { return this._LinkName; } set { this._LinkName = value; } }

        /// <summary>
        /// 网站地址
        /// </summary>
        public string LinkUrl { get { return this._LinkUrl; } set { this._LinkUrl = value; } }

        /// <summary>
        /// 是否审核通过
        /// </summary>
        public bool IsCheck { get { return this._IsCheck; } set { this._IsCheck = value; } }
        #endregion

        #region 构造函数
        public Link() { }

        public Link(int linkID, string linkName, string linkUrl, bool isCheck)
        {
            this._LinkID = linkID;
            this._LinkName = linkName;
            this._LinkUrl = linkUrl;
            this._IsCheck = isCheck;
        }
        #endregion
    }
}